package com.xl.generator.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName community_post
 */
@TableName(value ="community_post")
@Data
public class CommunityPost implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "createUserId")
    private Integer createUserId;

    /**
     * 
     */
    @TableField(value = "postContent")
    private String postContent;

    /**
     * 
     */
    @TableField(value = "postTitle")
    private String postTitle;

    /**
     * 
     */
    @TableField(value = "parentId")
    private Integer parentId;

    /**
     * 
     */
    @TableField(value = "createTime")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}